package com.arpa.ntocc.common.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 消息通知记录DTO
 * </p>
 *
 * @author LEO
 * @since 2019-12-19
 */
@Data
@ApiModel(value="NoticeRecordVO对象", description="消息通知记录")
public class NoticeRecordVO implements Serializable {


    @ApiModelProperty(value = "唯一code")
    private String code;

    @ApiModelProperty(value = "机构code")
    private String branchCode;

    @ApiModelProperty(value = "用户code")
    private String partyCode;

    @ApiModelProperty(value = "类型：0,业务消息 1,系统消息")
    private Integer type;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "已读：0否,1是")
    private Integer isRead;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "姓名")
    private String partyName;

    @ApiModelProperty(value = "手机号")
    private String partyPhone;
}
